<?php

namespace helper;

class Status
{
    const DRAFT = 10; //草稿的代码
    const WAIT = 20; //等待刊登的代码
    const FAIL = 30; //刊登失败的代码
    const SUCCESS = 40; //刊登成功的代码

    public static function index()
    {
        return [
            self::DRAFT => '草稿',
            self::WAIT => '等待刊登',
            self::FAIL => '刊登失败',
            self::SUCCESS => '刊登成功'
        ];
    }
}
